
public class Player {

	public String name;
	public int score;
	public RPSEnum[] move;
	
	Player(String name, RPSEnum movement[])
	{
		this.name=name;
		this.move=movement;
		score =0;
	}
	
	private Player(String name)
	{
		this.name=name;
		move = new RPSEnum[10];
		for(int i=0; i<10; i++)
		{
			move[i]= RPSEnum.valueOf("ROCK");
		}
		this.score=0;
	}

	public RPSEnum getNextMove(int i) {
		if(i<10) return move[i];
		else return null;
	}
	public int size() {
		return move.length;
	}
	
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the score
	 */
	public int getScore() {
		return score;
	}

	/**
	 * @param score the score to set
	 */
	public void setScore(int score) {
		this.score = score;
	}



	/**
	 * @param move the move to set
	 */
	public void setMove(RPSEnum move[]) {
		this.move = move;
	}
}
